package com.jushu.storbox.service;

import java.util.List;

import android.content.Context;

import com.jushu.storbox.entities.TeamSpaceMemberInfo;
import com.huawei.sharedrive.sdk.android.exception.ClientException;
import com.huawei.sharedrive.sdk.android.modelV2.request.TeamSpaceAddMemberRequest;
import com.huawei.sharedrive.sdk.android.modelV2.request.TeamSpaceMemberListRequest;
import com.huawei.sharedrive.sdk.android.modelV2.request.TeamSpaceMemberMessageRequest;
import com.huawei.sharedrive.sdk.android.modelV2.request.UpdataTeamSpaceMemberRequest;

public interface ITeamSpaceMemberService {
	
	public TeamSpaceMemberInfo getTeamSpaceMemberMessageFromServer(Context context,
			TeamSpaceMemberMessageRequest request)throws ClientException;
	
	public TeamSpaceMemberInfo getTeamSpaceMemberMessageFromLocal(Context context,
			TeamSpaceMemberMessageRequest request)throws ClientException;
	
	public TeamSpaceMemberInfo updateTeamSpaceMemberMessageFromServer(Context context,
			UpdataTeamSpaceMemberRequest request)throws ClientException;
	
	public List<TeamSpaceMemberInfo> getTeamSpaceMemberListFromServer(Context context,
			TeamSpaceMemberListRequest request)throws ClientException;
	
	public List<TeamSpaceMemberInfo> getTeamSpaceMemberListFromLocal(Context context,
			String teamSpaceId)throws ClientException;
	
	public String deleteTeamSpaceMemberFromServer(Context context,
			TeamSpaceMemberMessageRequest request)throws ClientException;
	
	public TeamSpaceMemberInfo addTeamSpaceMemberFromServer(Context context,
			TeamSpaceAddMemberRequest request)throws ClientException;
}
